package com.demo.fullink;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//启用Nacos注册中心
@EnableDiscoveryClient
//开启fegin支持，clients是指哪个类开启fegin
@EnableFeignClients(basePackages = {"com.demo.fullink.service"})
public class OrderApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class);
    }
}
